package cn.telling.tianlianproduct.freightrules.dao;

import java.util.List;
import java.util.Map;

import cn.telling.tianlianproduct.freightrules.vo.AreaFreightRulesVo;
import cn.telling.tianlianproduct.freightrules.vo.ShopInfoVo;

/**
 * 
 * @ClassName: AreaFreightRulesMapper 
 * @Description: 店铺区域运费规则
 * @author wxl
 * @date 2015年9月16日 下午15:21
 *
 */
public interface AreaFreightRulesMapper {
	 List<AreaFreightRulesVo> selectAreaFreightRulesByFreightid(Map<String, Object> params);
	 
	 /**
	  * 根据店铺id删除运费规则
	  * @date:2015-09-17
	  * @author wxl
	  * @param vo
	  */
	void deleteAreaFreightRules(ShopInfoVo vo);
	/**
	 * 店铺区域运费规则插入数据
	 * @param areals
	 */
	//void insertAreaFreightRules(List<AreaFreightRulesVo> areals);

	void insertAreaFreightRules(Map<String, Object> params);
	/**
	 * 
	* <p>Title:</p>
	* <p>Description: 根据地区ids查询运费规则地区</p>
	* <p>Company:tianlian </p>
	* @author :wxl
	* @date :2015年10月15日下午1:48:26
	* @return:AreaFreightRulesVo
	 */
	List<AreaFreightRulesVo> findFreoghtRulesAreaByAreaId(Map<String, Object> map);
}
